<template>
  <view class="pagesC tn-safe-area-inset-bottom">
    <!-- 顶部自定义导航 -->
    <!-- <tn-nav-bar :isBack="false" :bottomShadow="false" backgroundColor="none">
      <view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left" @click="tn('')">
        <view class="custom-nav__back">
          <text class="tn-text-bold tn-text-xl tn-color-black">测试</text>
        </view>
      </view>
    </tn-nav-bar> -->
    
    <swiper class="card-swiper" :circular="true" @click="tn('/pageA/product/product')" :style="{height: vuex_custom_bar_height + 40 + 'px'}"
      :autoplay="true" duration="500" interval="18000" @change="cardSwiper"> 
      <swiper-item v-for="(item,index) in swiperList" :key="index" :class="cardCur==index?'cur':''">
        <view class="swiper-item image-banner">
          <image :src="item.url" mode="aspectFill" v-if="item.type=='image'"></image>
        </view>
        <view class="" style="width: 100%;height: 100%;linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0),  rgba(0,0,0,0), rgba(0,0,0,0));position: absolute;bottom: 0;">
          <!-- <view class="tn-text-sm tn-text-bold tnloukong"># {{item.title}}</view> -->
        </view>
        <!-- <view class="swiper-item-text">
          <view class="tn-text-bold tn-color-white">{{item.name}}</view>
        </view> -->
      </swiper-item>
    </swiper>
    <view class="indication">
        <block v-for="(item,index) in swiperList" :key="index">
            <view class="spot" :class="cardCur==index?'active':''"></view>
        </block>
    </view>
    
    <view class="" style="padding-bottom: 20rpx;margin-top: -100rpx;z-index: 1; position: relative;">
      <!-- 不建议写时间，因为写了时间，你就要经常更新文章了鸭-->
      <view class="">
        <block v-for="(item, index) in news" :key="index">
          <view class="article-shadow" @click="tn('/pageA/article/article')">
            <view class="tn-flex">
              
              <view class="tn-margin-sm tn-padding-top-xs" style="width: 100%;">
                <view class="tn-text-bold clamp-text-1 tn-text-justify">
                  <text class="tn-color-white">{{ item.title }}</text>
                </view>
                <view class="tn-padding-top-xs" style="min-height: 90rpx;">
                  <text class="tn-text-df tn-color-gray clamp-text-2 tn-text-justify">
                    {{ item.desc }}
                  </text>
                </view>
                <view class="tn-flex tn-flex-row-between tn-flex-col-between tn-margin-top-sm">
                  <view v-for="(label_item,label_index) in item.label" :key="label_index"
                    class="justify-content-item tn-tag-content__item tn-margin-right">
                    <text class="tn-tag-content__item--prefix tn-icon-sprout"></text>
                    <text class="tn-text-df">{{ label_item }}</text>
                  </view>
                  <view class="justify-content-item tn-color-gray tn-text-center" style="padding-top: 5rpx;">
                    <text class="tn-icon-like-lack tn-padding-right-xs tn-text-lg" style="color: #00FD00;"></text>
                    <text class="tn-padding-right tn-text-df">{{ item.likeCount }}</text>
                    <text class="tn-icon-rocket tn-padding-right-xs tn-text-lg" style="color: #00FD00;"></text>
                    <text class="tn-text-df">{{ item.collectionCount }}</text>
                  </view>
                </view>
              </view>
              <view class="image-pic tn-margin-sm" :style="'background-image:url(' + item.mainImage + ')'">
                <view class="image-article">
                </view>
              </view>
            </view>
          </view>
        </block>
        
      </view>
      
      
      <view class="">
        
        <block v-for="(item,index) in news2" :key="index">
          <view class="article-shadow tn-padding-left-sm tn-padding-right-sm tn-padding-top-sm" @click="tn('/pageA/article/article')">
            <view class="image-pic" :style="'background-image:url(' + item.mainImage + ')'">
              <view class="image-design">
              </view>
            </view>  
            <view class="tn-margin-top tn-padding-bottom-sm">
              <view class="tn-text-bold clamp-text-1 tn-text-justify">
                <text class="tn-color-white">{{ item.title }}</text>
              </view>
              <!-- <view class="tn-padding-top-xs" style="min-height: 90rpx;">
                <text class="tn-text-df tn-color-gray clamp-text-2 tn-text-justify">
                  {{ item.desc }}
                </text>
              </view> -->
              <view class="tn-flex tn-flex-row-between tn-flex-col-between tn-margin-top-sm">
                <view v-for="(label_item,label_index) in item.label" :key="label_index"
                  class="justify-content-item tn-tag-content__item tn-margin-right">
                  <text class="tn-tag-content__item--prefix tn-icon-sprout"></text>
                  <text class="tn-text-df">{{ label_item }}</text>
                </view>
                <view class="justify-content-item tn-color-gray tn-text-center" style="padding-top: 5rpx;">
                  <text class="tn-icon-like-lack tn-padding-right-xs tn-text-lg" style="color: #00FD00;"></text>
                  <text class="tn-padding-right tn-text-df">{{ item.likeCount }}</text>
                  <text class="tn-icon-rocket tn-padding-right-xs tn-text-lg" style="color: #00FD00;"></text>
                  <text class="tn-text-df">{{ item.collectionCount }}</text>
                </view>
              </view>
            </view>
          </view>
          
        </block>
      </view>
      
      
      
      <!-- 三图图文 -->
      <view class="">
        <block v-for="(item,index) in news3" :key="index">
          <view class="article-shadow" @click="tn('/pageA/article/article')">
            <view class="" style="padding: 15rpx 10rpx 0 10rpx;">
              <tn-grid  hoverClass="none" :col="3">
                <block v-for="(image_item,image_index) in item.mainImage" :key="image_index">
                  <view class="" style="width: 33.3%;">
                    <view class="image-pic tn-margin-xs" :style="'background-image:url(' + image_item + ')'">
                      <view class="image-article">
                      </view>
                    </view>
                    <!-- <image
                      class="blogger__main-image blogger__main-image--3"
                      :src="image_item"
                      mode="aspectFill"
                    ></image> -->
                  </view>
                </block>
              </tn-grid>
            </view>
            
            
            <view class="tn-margin-sm tn-padding-bottom-sm">
              <view class="tn-text-bold clamp-text-1 tn-text-justify">
                <text class="tn-color-white">{{ item.title }}</text>
              </view>
              <!-- <view class="tn-padding-top-xs" style="min-height: 90rpx;">
                <text class="tn-text-df tn-color-gray clamp-text-2 tn-text-justify">
                  {{ item.desc }}
                </text>
              </view> -->
              <view class="tn-flex tn-flex-row-between tn-flex-col-between tn-margin-top-sm">
                <view v-for="(label_item,label_index) in item.label" :key="label_index"
                  class="justify-content-item tn-tag-content__item tn-margin-right">
                  <text class="tn-tag-content__item--prefix tn-icon-sprout"></text>
                  <text class="tn-text-df">{{ label_item }}</text>
                </view>
                <view class="justify-content-item tn-color-gray tn-text-center" style="padding-top: 5rpx;">
                  <text class="tn-icon-like-lack tn-padding-right-xs tn-text-lg" style="color: #00FD00;"></text>
                  <text class="tn-padding-right tn-text-df">{{ item.likeCount }}</text>
                  <text class="tn-icon-rocket tn-padding-right-xs tn-text-lg" style="color: #00FD00;"></text>
                  <text class="tn-text-df">{{ item.collectionCount }}</text>
                </view>
              </view>
            </view>
          </view>
          
        </block>
      </view>
      
      <!-- 不建议写时间，因为写了时间，你就要经常更新文章了鸭-->
      <view class="">
        <block v-for="(item, index) in news4" :key="index">
          <view class="article-shadow" @click="tn('/pageA/article/article')">
            <view class="tn-flex">
              
              <view class="tn-margin-sm tn-padding-top-xs" style="width: 100%;">
                <view class="tn-text-bold clamp-text-1 tn-text-justify">
                  <text class="tn-color-white">{{ item.title }}</text>
                </view>
                <view class="tn-padding-top-xs" style="min-height: 90rpx;">
                  <text class="tn-text-df tn-color-gray clamp-text-2 tn-text-justify">
                    {{ item.desc }}
                  </text>
                </view>
                <view class="tn-flex tn-flex-row-between tn-flex-col-between tn-margin-top-sm">
                  <view v-for="(label_item,label_index) in item.label" :key="label_index"
                    class="justify-content-item tn-tag-content__item tn-margin-right">
                    <text class="tn-tag-content__item--prefix tn-icon-sprout"></text>
                    <text class="tn-text-df">{{ label_item }}</text>
                  </view>
                  <view class="justify-content-item tn-color-gray tn-text-center" style="padding-top: 5rpx;">
                    <text class="tn-icon-like-lack tn-padding-right-xs tn-text-lg" style="color: #00FD00;"></text>
                    <text class="tn-padding-right tn-text-df">{{ item.likeCount }}</text>
                    <text class="tn-icon-rocket tn-padding-right-xs tn-text-lg" style="color: #00FD00;"></text>
                    <text class="tn-text-df">{{ item.collectionCount }}</text>
                  </view>
                </view>
              </view>
              <view class="image-pic tn-margin-sm" :style="'background-image:url(' + item.mainImage + ')'">
                <view class="image-article">
                </view>
              </view>
            </view>
          </view>
        </block>
        
      </view>
      
    </view>
    
    <view class='tn-tabbar-height'></view>

  </view>
</template>

<script>
  export default {
    name: 'PageC',
    data() {
      return {
        cardCur: 0,
        swiperList: [{
          id: 0,
          type: 'image',
          title: '',
          name: '',
          url: 'https://resource.tuniaokj.com/images/avatar/xiong/x1.jpg',
          }, {
          id: 1,
          type: 'image',
          title: '',
          name: '',
          url: 'https://resource.tuniaokj.com/images/avatar/xiong/x2.jpg',
          }, {
            id: 2,
            type: 'image',
            title: '',
            name: '',
            url: 'https://resource.tuniaokj.com/images/avatar/xiong/x3.jpg',
          }, {
            id: 3,
            type: 'image',
            title: '',
            name: '',
            url: 'https://resource.tuniaokj.com/images/avatar/xiong/x4.jpg',
          }
        ],
        news4: [{
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'orange',
            label: ['简约风'],
            title: '图鸟UI素材已上传语雀',
            desc: '语雀素材地址资源',
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x6.jpg',
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 106
            },
            collectionCount: 765,
            commentCount: 32,
            likeCount: 91
          },
          {
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'purplered',
            label: ['清理神器'],
            title: '最强的视频转GIF工具',
            desc: '神器推荐',
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x7.jpg',
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 232
            },
            collectionCount: 776,
            commentCount: 48,
            likeCount: 86
          },
          {
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'purple',
            label: ['科技风'],
            title: '酷炫的小程序粒子效果一览',
            desc: '小程序粒子效果',
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x8.jpg',
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 456
            },
            collectionCount: 342,
            commentCount: 42,
            likeCount: 76
          },
          {
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'blue',
            label: ['神器'],
            title: '为什么资讯不显示时间？',
            desc: '你确定你经常更新文章吗？',
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x9.jpg',
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 321
            },
            collectionCount: 654,
            commentCount: 232,
            likeCount: 543
          }
        ],
        
        news3: [{
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'red',
            label: ['家庭'],
            title: '抓住那只猪吖',
            desc: '陪伴是最长情的告白',
            mainImage:[
              'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1728874630849-assets/web-upload/2f5bd993-1d40-41a6-ade4-402ed8326a84.jpeg',
              'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1728909064581-assets/web-upload/dd3d12d5-8320-41f4-9daf-cf50def2e6e9.jpeg',
              'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1728873816467-assets/web-upload/dfc01b10-7025-4323-ac73-edb994696a16.jpeg',
            ],
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 567
            },
            collectionCount: 543,
            commentCount: 543,
            likeCount: 206
          }
        ],
        
        news2: [{
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'red',
            label: ['标签'],
            title: '那只猪不见了吖',
            desc: '很长很长的描述很长很长的描述很长很长的描述很长很长的描述',
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x18.jpg',
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 567
            },
            collectionCount: 543,
            commentCount: 543,
            likeCount: 206
          }
        ],
        
        news: [{
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'green',
            label: ['经验'],
            title: '收手叭，吖猪',
            desc: '外面都是吖凯',
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x19.jpg',
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 230
            },
            collectionCount: 987,
            commentCount: 236,
            likeCount: 342
          },
          {
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'cyan',
            label: ['故障'],
            title: '那只猪跑丢了',
            desc: '跑哪儿去了',
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x18.jpg',
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 987
            },
            collectionCount: 567,
            commentCount: 69,
            likeCount: 65
          },
          {
            userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
            userName: '可我会像',
            date: '2021年12月20日',
            color: 'red',
            label: ['硬件'],
            title: '烤猪进行中',
            desc: '美味的烤猪形式？',
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x12.jpg',
            viewUser: {
              latestUserAvatar: [{
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'
                },
                {
                  src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'
                },
              ],
              viewUserCount: 567
            },
            collectionCount: 126,
            commentCount: 342,
            likeCount: 69
          },
        ],
        
      }
    },
    methods: {
      // cardSwiper
      cardSwiper(e) {
        this.cardCur = e.detail.current
      },
      
      // 跳转
      tn(e) {
      	uni.navigateTo({
      		url: e,
      	});
      },
      
    }
  }
</script>

<style lang="scss" scoped>
  .pagesC {
    max-height: 100vh;
  }
  /* 自定义导航栏内容 start */
  .custom-nav {
    height: 100%;
    
    &__back {
      margin: auto 30rpx;
      font-size: 40rpx;
      margin-right: 10rpx;
      flex-basis: 5%;
      width: 100rpx;
      position: absolute;
    }
  }
  /* 自定义导航栏内容 end */
  
  /* 底部安全边距 start*/
  .tn-tabbar-height {
    min-height: 60rpx;
    height: calc(80rpx + env(safe-area-inset-bottom) / 2);
    height: calc(80rpx + constant(safe-area-inset-bottom));
  }
  
  /* 文字截取*/
  .clamp-text-1 {
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  
  .clamp-text-2 {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  
  /* 镂空 */
    .tnloukong {
      position: fixed;
      padding: 6rpx 20rpx;
      bottom: 260rpx;
      border-radius: 100rpx;
      left: 30rpx;
      font-weight: bold;
      text-align: center;
      z-index: 1000;
      background: rgba(255, 255, 255, 1);
      color: #070707;
      /* mix-blend-mode: overlay; difference;lighten;hue*/
      mix-blend-mode: lighten;
  
    }
  
  
  /* 轮播视觉差 start */
  .card-swiper {
  }
    
  .card-swiper swiper-item {
    width: 750rpx !important;
    left: 0rpx;
    box-sizing: border-box;
    // padding: 0rpx 30rpx 90rpx 30rpx;
    overflow: initial;
  }
    
  .card-swiper swiper-item .swiper-item {
    width: 100%;
    display: block;
    height: 100%;
    transform: scale(1);
    transition: all 0.2s ease-in 0s;
    will-change: transform;
    overflow: hidden;
  }
    
  .card-swiper swiper-item.cur .swiper-item {
    transform: none;
    transition: all 0.2s ease-in 0s;
    will-change: transform;
  }
  
  .card-swiper swiper-item .swiper-item-text {
    margin: -240rpx 0 0 30rpx;
    width: 100%;
    transition: all 0.6s ease 0s;
    will-change: transform;
  }
  
  .card-swiper swiper-item.cur .swiper-item-text {
    margin: -240rpx 0 0 30rpx;
    width: 100%;
    transition: all 0.6s ease 0s;
    will-change: transform;
  }
  
  .image-banner{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .image-banner image{
    width: 100%;
    height: 100%;
  }
  
  /* 轮播指示点 start*/
  .indication{
    z-index: 9999;
    width: 100%;
    height: 36rpx;
    position: absolute;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
  }
  
  .spot{
    background-color: #00FD00;
    opacity: 0.6;
    width: 10rpx;
    height: 8rpx;
    border-radius: 20rpx;
    left: -280rpx;
    top: -130rpx;
    margin: 0 8rpx !important;
    position: relative;
  }
  
  .spot.active{
    opacity: 1;
    width: 26rpx;
    background-color: #00FD00;
  }
  
  /* 资讯主图 start*/
  .image-article {
    border-radius: 8rpx;
    width: 200rpx;
    height: 190rpx;
    position: relative;
  }
  
  .image-pic{
    // border: 1rpx solid #F8F7F8;
    background-size: cover;
    background-repeat:no-repeat;
    // background-attachment:fixed;
    background-position:top;
    border-radius: 10rpx;
  }
  
  /* 背景阴影 start*/
  .article-shadow {
    margin: 30rpx 30rpx;
    border-radius: 30rpx;
    background-color: #171E17;
    // box-shadow: 0rpx 10rpx 30rpx 0rpx rgba(52, 103, 194, 0.08);
  }
  
  /* 文字截取*/
  .clamp-text-1 {
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  
  .clamp-text-2 {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  
  /* 标签内容 start*/
  .tn-tag-content {
    &__item {
      color: #00FD00;
      background-color: #004700;
      border-radius: 100rpx;
      font-size: 22rpx;
      padding: 5rpx 15rpx;
      margin: 5rpx 18rpx 0 0;
  
      &--prefix {
        font-size: 24rpx;
        color: #00FD00;
        padding-right: 10rpx;
      }
      
    }
  }
  
  
  /* 大单图 start*/
  .tn-blogger-content2 {
    &__wrap {
      padding: 30rpx;
    }
    
    &__info {
      &__btn {
        margin-right: -12rpx;
        opacity: 0.5;
      }
    }
    
    &__label {
      &__item {
        line-height: 45rpx;
        padding: 0 20rpx;
        margin: 5rpx 18rpx 0 0;
        
        &--prefix {
          color: #00FFC8;
          padding-right: 10rpx;
        }
      }
      
      &__desc {
        line-height: 55rpx;
      }
    }
    
    &__main-image {
      // box-shadow: 0rpx 5rpx 40rpx 0rpx rgba(43, 158, 246, 0.2);
      border-radius: 16rpx;
      
      &--1 {
        max-width: 690rpx;
        min-width: 690rpx;
        max-height: 400rpx;
        min-height: 400rpx;
      }
      
      &--2 {
        max-width: 260rpx;
        max-height: 260rpx;
      }
      
      &--3 {
        height: 212rpx;
        width: 100%;
      }
    }
    
    &__count-icon {
      font-size: 40rpx;
      padding-right: 5rpx;
    }
  }
  
  .image-design{
    padding: 140rpx 0rpx;
    font-size: 40rpx;
    font-weight: 300;
    position: relative;
  }
  .image-pic{
    background-size: cover;
    background-repeat:no-repeat;
    // background-attachment:fixed;
    background-position:center;
    border-radius: 20rpx;
  }
  /* 文章内容 end*/

</style>
